.table-form {
  border: 0;
  border-left: 1px solid #9da0aa;
  border-top: 1px solid #9da0aa;
  box-sizing: border-box;
  /deep/.table-form-col.el-col {
    flex-wrap: unset !important;
  }
}

.table-form-col {
  border-right: 1px solid #9da0aa;
  border-bottom: 1px solid #9da0aa;
  box-sizing: border-box;
  display: flex;
  align-items: center;

  /* 标签样式 */
  .label {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    position: relative;
    flex: 0 0 160px;
    background-color: #fffdf0;
    height: 48px;
    padding-right: 12px;
    box-sizing: border-box;
    border-right: 1px solid #9da0aa;
    font-size: 13px;
    text-align: right;
    /* 必填标签 添加required-label */
    &.required-label::before {
      content: "*";
      color: red;
      position: absolute;
      right: 6px;
      top: 8px;
    }
    /* 备注标签样式 */
    &.remark-label {
      height: 80px;
    }
  }

  /* 重置el-form-item 样式 */
  .el-form-item {
    margin-bottom: 0;
    width: 100%;
    margin-right: 0;
    padding: 2px 6px;
    box-sizing: border-box;

    /deep/ .el-form-item__content {
      width: 100%;
    }

    /deep/ .el-input__inner {
      padding: 0 30px 0 10px;
    }

    /deep/ .el-form-item__error {
      bottom: 0;
      left: 1px;
    }

    /deep/.el-date-editor .el-input__inner {
      padding: 0 30px;
    }
  }

  .w100p {
    width: 100%;
  }

  /* 经纬度容器 */
  .lng-lat-box {
    display: flex;
    padding: 2px 6px;
    box-sizing: border-box;
    .lng-item {
      display: flex;
      align-items: center;
    }
    .lat-item {
      display: flex;
      margin-left: 36px;
      align-items: center;
    }
    .lng-lat-input-item {
      width: 68px !important;
    }
    .lng-lat-input {
      width: 60px !important;
      /deep/.el-input__inner {
        padding: 0 6px;
      }
    }
  }
}

/* 表格模式，不显示input边框 */
.table-form.table-mode {
  .el-form-item {
    /deep/ .el-input__inner {
      border: 0;
    }
    /deep/ .el-textarea__inner {
      border: 0;
    }
  }
  .lng-lat-box {
    /deep/ .el-input__inner {
      border: 0;
    }
  }
}

/* 针对个别项显示input边框 */
.table-form.table-mode {
  .el-form-item.show-input-border {
    /deep/ .el-input__inner {
      border: 1px solid #dcdfe6 !important;
    }
  }
}

.w100p {
  width: 100%;
}

.new-lng-item,
.new-lat-item {
  display: flex;
  position: relative;
  .select-location-btn{
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    color: #fff;
    background-color: #F56C6C;
    cursor: pointer;
  }
}
.new-lng-lat-input-item {
  width: 62px !important;
}
.new-lng-lat-input {
  width: 60px !important;
  /deep/.el-input__inner {
    padding: 0 6px;
  }
}

/* 重置被影响的公共样式 */
/deep/.el-form {
  display: block !important;
  flex-wrap: unset !important;
  align-items: unset !important;
}
/deep/.el-row {
  margin: unset !important;
  width: unset !important;
  .el-col {
    display: unset !important;
    flex-wrap: unset !important;
  }
}
